package com.eliza.kotlin.design.creation.builder.demo1

/**
 * @version v1.0
 * @ClassName: Client
 * @Description: TODO(一句话描述该类的功能)
 * @Author: 黑马程序员
 */
object Client {
    @JvmStatic
    fun main(args: Array<String>) {
        //创建指挥者对象
        val director = Director(MobileBuilder())
        //让指挥者只会组装自行车
        val bike = director.construct()
        println(bike.frame)
        println(bike.seat)
    }
}